package com.attendance.www.hr.service;

import java.util.List;

import com.attendance.www.hr.beans.SchedulWeekBean;

public interface ISchedulWeekService {
	
	/**
	 * 添加验证标题是否存在（先不做验证）
	 * @param schedulWeekBean
	 * @return
	 */
	public boolean getSaveSchedulWeekValidate(SchedulWeekBean schedulWeekBean);
	
	/**
	 * 修改题目验证是否存在
	 * @param schedulWeekBean
	 * @return
	 */
	public boolean getUpdateSchedulWeekValidate(SchedulWeekBean schedulWeekBean);
	
	/**
	 * 删除验证是否存在
	 * @param id
	 * @return
	 */
	public boolean getDeleteSchedulWeekValidate(String id);

	/**
	 * 新增验证是否重复排班
	 * @param schedulWeekBean
	 * @return
	 */
	public boolean getVerifySchedulWeek(SchedulWeekBean schedulWeekBean);
	
	/**
	 * 新增班次
	 * @param schedulWeekBean
	 * @return
	 */
	public boolean saveSchedulWeek(SchedulWeekBean schedulWeekBean);
	
	/**
	 * 生成(自动)班次天数据
	 * @param schedulWeekBean
	 * @return
	 */
	public boolean saveSchedulDayKeyAuto();
	
	/**
	 * 删除班次
	 * @param id
	 * @return
	 */
	public boolean deleteSchedulWeek(String id);
	
	/**
	 * 修改班次
	 * @param schedulWeekBean
	 * @return
	 */
	public boolean updateSchedulWeek(SchedulWeekBean schedulWeekBean);
	
	/**
	 * 查询班次
	 * @param startNum
	 * @param pageCount
	 * @return
	 */
	public List<SchedulWeekBean> getSchedulWeekList();
	
	/**
	 * 查询班次by班次ID
	 * @param swId
	 * @return
	 */
	public SchedulWeekBean getSchedulWeekBySwId(String swId);
	
	/**
	 * 导入特殊排班
	 * @param attachmentId
	 * @return
	 */
	public List<String> saveSchedulWeekExcel(Integer attachmentId);
}
